<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use App\BaseModel as Eloquent;

/**
 * Class AgentMoneyWithdraw
 * 
 * @property int $id
 * @property int $hall_id
 * @property int $agent_id
 * @property string $order_number
 * @property int $amount
 * @property int $fee
 * @property int $agent_bank_id
 * @property string $agent_bank_info
 * @property int $lock_admin_id
 * @property int $updated_admin_id
 * @property \Carbon\Carbon $confirm_time
 * @property string $ip
 * @property int $status
 * @property string $remark
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 *
 * @package App\Models
 */
class AgentMoneyWithdraw extends Eloquent
{
	protected $table = 'agent_money_withdraw';

	protected $casts = [
		'hall_id' => 'int',
		'agent_id' => 'int',
		'amount' => 'int',
		'fee' => 'int',
		'agent_bank_id' => 'int',
		'lock_admin_id' => 'int',
		'updated_admin_id' => 'int',
		'status' => 'int'
	];

	protected $dates = [
		'confirm_time'
	];

	protected $fillable = [
		'hall_id',
		'agent_id',
		'order_number',
		'amount',
		'fee',
		'agent_bank_id',
		'agent_bank_info',
		'lock_admin_id',
		'updated_admin_id',
		'confirm_time',
		'ip',
		'status',
		'remark'
	];
}
